package com.ruicar.afs.cloud.basic.clearance.condition;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName StaySettleCondition
 * @Description: 计算信息
 * @Author zyr
 * @Date 2020/6/18
 * @Version V1.0
 **/
@Data
public class CalSettleCondition {

    @ApiModelProperty("每页大小")
    private Integer pageSize;

    @ApiModelProperty("当前页数")
    private Integer pageNumber;

    @ApiModelProperty("申请编号")
    private String applyNo;

    @ApiModelProperty("合同编号")
    private String contractNo;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("请求日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date calculateTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("计算日期")
    private Date executeTime;

    @ApiModelProperty("提前终止原因")
    private String prepaymentType;

    @ApiModelProperty("还款方式")
    private String repayMode;

    @ApiModelProperty("不满六期原因")
    private String shortSixPeriodReason;

    @ApiModelProperty("豁免单费用")
    private BigDecimal exemptBillCost;

}
